home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / aijournl / 1986_10 / asse.doc < prev    next >
Text File  |  1986-09-20  |  3KB  |  85 lines

  1.     A Brief Guide to A Simple Structure Editor (ASSE)
  2.             by
  3.         Jeffrey M. Jacobs
  4.  
  5.     Copyright (c) 1986, CONSART Systems Inc.
  6.     P.O. Box 3016, Manhattan Beach, CA (213)376-3802
  7.     All rights reserved.  Permission granted for
  8.     non-commercial distribution.
  9.     CompuServe: 75076,2603
  10.     BIX: jeffjacobs
  11.     UUCP: jjacobs@well.UUCP
  12.  
  13. Keywords are in UPPER CASE, i.e. REPLACE, INSERT etc.
  14.  
  15. "n" is an integer.
  16.  
  17. "form" is a user's form, i.e. an atom list or number.
  18.  
  19. The ASSE editor is invoked by:
  20.  
  21. (EDITV symbol)        ; To edit the value of "symbol".
  22. (EDITF symbol)        ; To edit the function definition of "symbol").
  23.  
  24. If no "symbol" is specified, ASSE will use the state from the last
  25. session.
  26.  
  27. Command            Action
  28. _______________________________
  29. n            A non-zero integer "n" changes ASSE's view to be 
  30.             the nth element of the current view.
  31. 0            0 (zero) changes ASSE's view to be the expression
  32.             containing the current view.
  33.  
  34. UP            Similar to 0; if the current view is a tail
  35.             of the containing expression, it will be the first
  36.             element in the new view.
  37.  
  38. NEXT            Change the view to the expression following the
  39.             current view.  Similar to UP 2.
  40.  
  41. TOP            Change the view to the "top" of the form being
  42.             edited.
  43.  
  44. UNDO            Undo the last destructive operation.
  45.  
  46. DELETE n        Delete the nth element of the current view.
  47.             "D" and "DEL" are abbreviations for DELETE.
  48.  
  49. INSERT form BEFORE n    To insert a new element in the list.  "I" and "INS"
  50. INSERT form AFTER n    are abbreviations for INSERT, "B" and "BEF" for BEFORE,
  51.             "A" and "AFT" for AFTER.
  52.  
  53. REPLACE n WITH form    To replace the nth element.  "R" and "REP" are also
  54.             accepted.
  55.  
  56. EMBED n            Embed the nth element in parends.  "EMB" is also
  57.             accepted.
  58.  
  59. EXTRACT n        Remove a set of parends from around the nth element.
  60.             "EXT" and "XTR" are also accepted.
  61.  
  62. TEST            Places a "BLOCK" on the *UNDO_LIST* (see REVERT).
  63.  
  64. REVERT            Undoes all destructive commands since the last TEST.
  65.             Allows the user to test new versions and to back up
  66.             to a previous version.  REVERT cannot be undone.
  67.  
  68. UNBLOCK            Removes the most recent BLOCK from the *UNDO_LIST*.
  69.  
  70. SAVE            Exits the editor, saving the current state of the
  71.             editing session on the property list of the symbol
  72.             being edited.
  73.  
  74. OK            Exits the editor, but DOES not save the current state.
  75.  
  76. P            Prints the current expression to the depth specified
  77.             by *PRINT_LEVEL*.
  78.  
  79. PL n            Prints the current expression to level "n".
  80.  
  81. PP            Pretty Prints the current expression.  May require
  82.             modifications for various dialects.
  83.  
  84. ??            Prints out the history of destructive commands.
  85.